__author__ = 'cain76'
import pygame
from pygame.locals import *
from mylib.gl3d.glext import *

pygame.init()
pygame.display.set_mode((800, 600), HWSURFACE | OPENGL | DOUBLEBUF)

# gl_ext_import_all()
# OpenGL.GL.EXT.texture_compression_latc
il = gl_ext_import_list()
il.sort()
'''
for mn in il:
    print('try:')
    print("    from " + mn + " import *")
    mnl = mn.split('.')
    ml = mnl[3].split('_')
    s = 'glInit'
    for m in ml:
        s += m.capitalize()
    s+=mnl[2]
    print('    ' + s + '()')
    print('except:')
    print('    print("Fail - ' + mn + '")')
'''
pygame.quit()
exit()